<!--
 * @Author: error: git config user.name && git config user.email & please set dead value or install git
 * @Date: 2022-05-15 11:18:39
 * @LastEditors: 卓晓松 729519678@qq.com
 * @LastEditTime: 2022-07-28 14:59:18
 * @FilePath: \ericzhang\Rashipier_Monitor\myapp\src\App.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <router-view />
</template>
<script>
import { provide } from "vue";
import * as echarts from "echarts";
import axios from "axios";

// 设置基准路径
axios.defaults.baseURL = "http://127.0.0.1:5000";
export default {
  setup() {
    provide("echarts", echarts);
    provide("axios", axios);
  },
};
</script>
<style lang="less">
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  background: url("~@/assets/img/bg.png") top center no-repeat;
}

html,
body,
#app {
  height: 100%;
}
</style>
